home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
net
/
amitcp2_x_gcc.lha
/
AMIGA_MakeVars
next >
Wrap
Text File
|
1995-01-10
|
954b
|
40 lines
# Sega Cartridge MakeVars
# (C) 1993 Atla Software
# All Rights Reserved
#All host type options.
HOSTCC = /bin/gcc
GCCHDRS = /gcc/include
HOSTINCFLAGS = -I$(GAMEHDRS) -I$(GCCHDRS)
HOSTFLAGS = -Wall $(HOSTINCFLAGS)
AR = /bin/ar
RANLIB = /bin/ranlib
CI = /dcc/revisions/bin/ci
INDENT = /utilities/gnu/indent
TOUCH = /bin/touch
#All destination type compilers options.
#I'm not using -g for LD simply because I have no way to decode the
#debug hunk(s), which add ALOT of data to the exe.. (unnec. data ;)
OPTIM = -O2
MACHFLAGS = -resident
CC = $(HOSTCC) -g $(MACHFLAGS) $(OPTIM)
CPP = $(HOSTCC) -g $(MACHFLAGS) $(OPTIM) -E
LD = $(HOSTCC) $(MACHFLAGS) $(OPTIM)
AS = $(HOSTCC) -g $(MACHFLAGS) $(OPTIM)
INCFLAGS =
CFLAGS = -W -Wall $(INCFLAGS)
ASFLAGS = -W -Wall $(INCFLAGS)
.c.o:
$(INDENT) $<
$(CC) $(CFLAGS) -c -o $*.o $<
$(CI) -l $<
$(TOUCH) $*.o
.S.o:
$(AS) $(ASINCS) -c -o $*.o $<
$(CI) -l $<
$(TOUCH) $*.o